package cn.terminus.web.customer.custominfo.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * CustomInfoNewForm
 *
 * @author makejava
 * @since 2021-07-08 11:18:49
 */
@Data
@ApiModel("客户基本信息新增参数")
public class CustomInfoNewForm implements Serializable {
    private static final long serialVersionUID = -40947352554002652L;

    /**
     * 客户名称
     */
    @ApiModelProperty(name = "cboCustomName", value = "客户名称", required = true)
    private String cboCustomName;

    /**
     * 客户性质
     */
    @ApiModelProperty(name = "cboCustomNature", value = "客户性质", required = false)
    private String cboCustomNature;

    /**
     * 客户行业
     */
    @ApiModelProperty(name = "cboCustomIndustry", value = "客户行业", required = false)
    private String cboCustomIndustry;

    /**
     * 招商阶段
     */
    @ApiModelProperty(name = "cboCustomStage", value = "招商阶段", required = true)
    private String cboCustomStage;

    /**
     * 归属人
     */
    @ApiModelProperty(name = "cboCustomAscription", value = "归属人", required = false)
    private Long cboCustomAscription;

    /**
     * 归属人姓名
     */
    @ApiModelProperty(name = "cboCustomAscriptionName", value = "归属人姓名", required = false)
    private String cboCustomAscriptionName;


    /**
     * 渠道来源
     */
    @ApiModelProperty(name = "cboChannelSource", value = "渠道来源", required = false)
    private String cboChannelSource;

    /**
     * 渠道名称
     */
    @ApiModelProperty(name = "cboChannelName", value = "渠道名称", required = false)
    private String cboChannelName;

    /**
     * 渠道联系人id
     */
    @ApiModelProperty(name = "cboChannelUser", value = "渠道联系人", required = false)
    private Long cboChannelUser;

    /**
     * 来访日期
     */
    @ApiModelProperty(name = "cboCustomCometime", value = "来访日期", required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cboCustomCometime;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注", required = false)
    private String remark;


}
